package entity;

import java.util.List;

public class PageResult<T> {

    /**
     * 当前页的结果集
     */
    private List<T> data;

    /**
     * 分页条开始页码
     */
    private int begin;

    /**
     * 分页条结束页码
     */
    private int end;

    /**
     * 分页条当前页码
     */
    private int current;

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    public int getBegin() {
        return begin;
    }

    public void setBegin(int begin) {
        this.begin = begin;
    }

    public int getEnd() {
        return end;
    }

    public void setEnd(int end) {
        this.end = end;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }
}
